package com.zg.scf.domain.req.product;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zg.common.core.req.AddReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.*;
import java.math.BigDecimal;
import java.util.Date;

/**
 * DESCRIPTION
 *
 * @author zhanfeng.liang
 * @since 2025-07-22
 */

@Data
@ApiModel(value = "产品信息费AddReq",description = "产品信息费添加请求")
public class ProductFeeAddReq extends AddReq {

    @ApiModelProperty(value = "产品ID")
    @NotNull(message = "产品ID不能为空")
    private Long productId;

    @ApiModelProperty(value = "公式")
    @NotBlank(message = "公式不能为空")
    private String formula;
}
